!!! xml
!!! strict
%html{ :xmlns => 'http://www.w3.org/1999/xhtml', 'xml:lang' => 'en', :lang => 'en' }
  %head
    %title= page_title
    = stylesheet_link_tag 'reset', 'text', '960', 'master'
    = yield :css
    
  %body{ :class => [body_layout_class, @body_classes].join(' ') }
    / header
    #header
      #inner_header
        %h1#logo= link_to 'AFSMS', root_url
        
        %ul#nav
          %li.dashboard= link_to 'Dashboard', root_url
          %li.members= link_to 'Members', '#members'
          %li.announcements.last= link_to 'Announcements', '#announcements'
        
        %ul#auth
          - if logged_in?
            %li.logout= link_to 'Logout', logout_url, :method => :delete
          - else
            %li.login= link_to 'Login', login_url
    
    - unless flash.empty?
      / flashes
      #flashes.grid_16
        - flash.each do |name, msg|
          %div{ :class => "flash #{name}" }= msg
      
    / content  
    #content.container_16
      = yield 
      .clear
